<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-cloak指令用法</title>
    <style>
        [v-clock]{
            display: none;
        }
    </style>
</head>
<body>
    <div id="smartParty" v-clock>
        {{a}}
    </div>
    <script src="js/vue2.js"></script>
    <script>
        setTimeout(()=>{
            new Vue({
            el:'#smartParty',
            data:{
                a: '我是渲染指令的v-cloak'
            }
        })
        },1000)
      
    </script>
</body>
</html>